Skip to content

[UIK-5136][slider] rewrite component to TS#2918

Open
slizhevskyv-semrush wants to merge 12 commits into
release/v17from
UIK-5136/rewrite-component-to-ts
Open

[UIK-5136][slider] rewrite component to TS#2918
slizhevskyv-semrush wants to merge 12 commits into
release/v17from
UIK-5136/rewrite-component-to-ts

Conversation

@slizhevskyv-semrush
Copy link
Copy Markdown
Contributor

Changelog

@semcore/slider

Fixed

  • Rewrite component to TS. Deprecate atomic types. Atomic types are part of NSSlider namespace.

Motivation and Context

Rewrite component to TS. Deprecate atomic types in favor of namespaces. Nothing changed in how component works. (I hope :D)

How has this been tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).
  • Nice improve.

Checklist:

  • I have updated the documentation accordingly.
  • I have added new tests on added of fixed functionality.

ilyabrower and others added 11 commits April 30, 2026 18:41
#2907)

…omponents@17.0.2, @semcore/badge@17.0.1, @semcore/breadcrumbs@17.0.1,
@semcore/bulk-textarea@17.0.2, @semcore/card@17.0.2,
@semcore/button@17.0.1, @semcore/carousel@17.0.1,
@semcore/base-trigger@17.0.1, @semcore/checkbox@17.0.2,
@semcore/color-picker@17.0.1, @semcore/core@17.0.1,
@semcore/d3-chart@17.0.2, @semcore/data-table@17.0.2,
@semcore/counter@17.0.1, @semcore/drag-and-drop@17.0.1,
@semcore/dot@17.0.2, @semcore/dropdown@17.0.1,
@semcore/date-picker@17.0.2, @semcore/divider@17.0.2,
@semcore/ellipsis@17.0.1, @semcore/errors@17.0.2,
@semcore/feature-highlight@17.0.1, @semcore/dropdown-menu@17.0.1,
@semcore/flags@17.0.1, @semcore/feature-popover@17.0.1,
@semcore/feedback-form@17.0.1, @semcore/i18n-unplugin@16.0.10,
@semcore/fullscreen-modal@17.0.1, @semcore/inline-edit@17.0.1,
@semcore/inline-input@17.0.1, @semcore/input@17.0.1,
@semcore/input-tags@17.0.1, @semcore/input-number@17.0.1,
@semcore/link@17.0.1, @semcore/input-mask@17.0.2,
@semcore/mini-chart@17.0.1, @semcore/modal@17.0.1,
@semcore/notice@17.0.1, @semcore/pills@17.0.2,
@semcore/pagination@17.0.1, @semcore/notice-bubble@17.0.1,
@semcore/product-head@17.0.1, @semcore/progress-bar@17.0.2,
@semcore/radio@17.0.2, @semcore/select@17.0.1,
@semcore/side-panel@17.0.2, @semcore/slider@17.0.1,
@semcore/spin@17.0.1, @semcore/skeleton@17.0.2,
@semcore/spin-container@17.0.1, @semcore/switch@17.0.1,
@semcore/tab-line@17.0.2, @semcore/tab-panel@17.0.2,
@semcore/tag@17.0.1, @semcore/textarea@17.0.1,
@semcore/time-picker@17.0.1, @semcore/tooltip@17.0.1,
@semcore/typography@17.0.2, @semcore/widget-empty@17.0.1,
@semcore/add-filter@17.0.1, @semcore/wizard@17.0.1, @semcore/ui@17.0.2

## Changelog

### @semcore/_$component_name

#### Fixed

-

<!--- Provide a general summary of your changes in the Title above -->

## Motivation and Context

<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## How has this been tested?

<!--- Please describe in detail how you tested your changes. -->
<!--- For example: -->
<!--- I have added unit tests -->
<!--- I have added Voice Over tests -->
<!--- Code cannot be tested automatically so I have tested it only
manually -->

## Screenshots (if appropriate):

## Types of changes

<!--- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->

- [ ] Bug fix (non-breaking change which fixes an issue).
- [ ] New feature (non-breaking change which adds functionality).
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected).
- [ ] Nice improve.

## Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes
that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->

- [ ] I have updated the documentation accordingly.
- [ ] I have added new tests on added of fixed functionality.

Co-authored-by: semrush-ci-whale <semrush-ci-whale@users.noreply.github.com>
<!--- Provide a general summary of your changes in the Title above -->

## Motivation and Context

<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## How has this been tested?

<!--- Please describe in detail how you tested your changes. -->
<!--- For example: -->
<!--- I have added unit tests -->
<!--- I have added Voice Over tests -->
<!--- Code cannot be tested automatically so I have tested it only
manually -->

## Screenshots (if appropriate):

## Types of changes

<!--- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->

- [ ] Bug fix (non-breaking change which fixes an issue).
- [ ] New feature (non-breaking change which adds functionality).
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected).
- [ ] Nice improve.

## Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes
that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->

- [ ] I have updated the documentation accordingly.
- [ ] I have added new tests on added of fixed functionality.
<!--- Provide a general summary of your changes in the Title above -->

## Motivation and Context

<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## How has this been tested?

<!--- Please describe in detail how you tested your changes. -->
<!--- For example: -->
<!--- I have added unit tests -->
<!--- I have added Voice Over tests -->
<!--- Code cannot be tested automatically so I have tested it only
manually -->

## Screenshots (if appropriate):

## Types of changes

<!--- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->

- [ ] Bug fix (non-breaking change which fixes an issue).
- [ ] New feature (non-breaking change which adds functionality).
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected).
- [x] Nice improve.

## Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes
that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->

- [ ] I have updated the documentation accordingly.
- [ ] I have added new tests on added of fixed functionality.

---------

Co-authored-by: Valeryia Zimnitskaya <valeryia.zimnitskaya@semrush.com>
Co-authored-by: Julia Mnizhek <j.mnizhek@semrush.com>
Copy link
Copy Markdown
Contributor Author

@slizhevskyv-semrush slizhevskyv-semrush May 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ilyabrower there is a small forced refactoring... idk 🤷‍♂️
I added fallback values for NaN values. Please, let me know whether it makes sense :) Overall looks like legit since options variant is used through indexes...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm... as I see, you don't need this fallback logic, because you defined defaultProps, so, in every this.props.min you will have defined value...

@ilyabrower ilyabrower force-pushed the release/v17 branch 2 times, most recently from 036c37b to c160d60 Compare May 13, 2026 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants